package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecFloorPlan;
import com.onedec.designer.entity.OnedecFloorPlanExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecFloorPlanMapper {
    long countByExample(OnedecFloorPlanExample example);

    int deleteByExample(OnedecFloorPlanExample example);

    int deleteByPrimaryKey(Integer floorPlanId);

    int insert(OnedecFloorPlan record);

    int insertSelective(OnedecFloorPlan record);

    List<OnedecFloorPlan> selectByExample(OnedecFloorPlanExample example);

    OnedecFloorPlan selectByPrimaryKey(Integer floorPlanId);

    int updateByExampleSelective(@Param("record") OnedecFloorPlan record, @Param("example") OnedecFloorPlanExample example);

    int updateByExample(@Param("record") OnedecFloorPlan record, @Param("example") OnedecFloorPlanExample example);

    int updateByPrimaryKeySelective(OnedecFloorPlan record);

    int updateByPrimaryKey(OnedecFloorPlan record);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);
}